<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>console.log(obj)</title>
</head>
<body>
<script>
    var msgs = [
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Web",
            "fromDeviceId": "de63d6e7a30b1ab41d200bd2877583b2",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658207313576,
            "type": "text",
            "text": "111",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": true,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "resend": false,
            "idClient": "ebc0227ba7f786ee3b7ed705504abb39",
            "idServer": "11623",
            "userUpdateTime": 1657603825382,
            "custom": "{\"chatType\":2,\"fromNum\":\"6602009510\",\"toNum\":\"3479033025\",\"images\":\"\",\"videos\":[],\"type\":\"website_visitors\",\"aiQualifyStatus\":\"paused\",\"isHideVideos\":true}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "bmmuxly4vkiee9f8h6nz_stage",
            "fromNick": "Buyer7192",
            "fromClientType": "Server",
            "to": "b0olzeme34ivm8c2e2w6_stage",
            "time": 1658207018684,
            "type": "text",
            "text": "yes",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "4ecc8feb-bbb3-4080-92b5-55d77017b27b",
            "idServer": "11622",
            "userUpdateTime": 1658197502733,
            "custom": "{\"leadPhone\":\"3479033025\",\"toNum\":\"6602009510\",\"fromNum\":\"3479033025\",\"chatType\":2}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0,\"aps\":{\"alert\":\"yes\",\"sound\":\"default\"}}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "in"
        },
        {
            "scene": "p2p",
            "from": "bmmuxly4vkiee9f8h6nz_stage",
            "fromNick": "Buyer7192",
            "fromClientType": "Server",
            "to": "b0olzeme34ivm8c2e2w6_stage",
            "time": 1658199088067,
            "type": "text",
            "text": "yes",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "d48d3ce4-193d-4e93-a973-7dad8394cf7f",
            "idServer": "11617",
            "userUpdateTime": 1658197502733,
            "custom": "{\"leadPhone\":\"3479033025\",\"toNum\":\"6602009510\",\"fromNum\":\"3479033025\",\"chatType\":2}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0,\"aps\":{\"alert\":\"yes\",\"sound\":\"default\"}}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "in"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Web",
            "fromDeviceId": "de43d6717edbf02b65d0d3a0db0e8487",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658198617709,
            "type": "text",
            "text": "..",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": true,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "resend": false,
            "idClient": "5e76938dfea80e100d00479d0c9f80ca",
            "idServer": "11616",
            "userUpdateTime": 1657603825382,
            "custom": "{\"chatType\":2,\"fromNum\":\"6602009510\",\"toNum\":\"3479033025\",\"images\":\"\",\"videos\":[],\"type\":\"website_visitors\",\"aiQualifyStatus\":\"paused\",\"isHideVideos\":true}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Web",
            "fromDeviceId": "de43d6717edbf02b65d0d3a0db0e8487",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658198607031,
            "type": "text",
            "text": "...",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": true,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "resend": false,
            "idClient": "1d64da32339a2543278d1ccaa015113c",
            "idServer": "11615",
            "userUpdateTime": 1657603825382,
            "custom": "{\"chatType\":2,\"fromNum\":\"6602009510\",\"toNum\":\"3479033025\",\"images\":\"\",\"videos\":[],\"type\":\"website_visitors\",\"aiQualifyStatus\":\"paused\",\"isHideVideos\":true}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Android",
            "fromDeviceId": "c4ff07cb-fe3b-40b1-9cc4-5913bdf28f1f",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658197501942,
            "type": "text",
            "text": "测",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": true,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": false,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "7cfe95ca913a46419defd9102b02bed9",
            "idServer": "11614",
            "userUpdateTime": 1657603825382,
            "custom": "{\"toNum\":\"3479033025\",\"chatType\":2,\"fromNum\":\"6602009510\"}",
            "pushContent": "Se T-test: 测",
            "pushPayload": "{\"pushTitle\":\"New Message\",\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195964408,
            "type": "text",
            "text": "Noted. How many bedrooms would be ideal?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "22da2b57-4185-47c8-8de7-ec13a678da87",
            "idServer": "11608",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"leadPhone\":\"3479033025\",\"toNum\":\"3479033025\",\"fromNum\":\"6602009510\",\"chatType\":2}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0,\"aps\":{\"alert\":\"Noted. How many bedrooms would be ideal?\",\"sound\":\"default\"}}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "bmmuxly4vkiee9f8h6nz_stage",
            "fromNick": "Buyer7192",
            "fromClientType": "Server",
            "to": "b0olzeme34ivm8c2e2w6_stage",
            "time": 1658195946832,
            "type": "text",
            "text": "$300K",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "0232be1b-5990-4ab1-8b67-701a6a87ee21",
            "idServer": "11607",
            "userUpdateTime": 1658195711791,
            "custom": "{\"leadPhone\":\"3479033025\",\"toNum\":\"6602009510\",\"fromNum\":\"3479033025\",\"chatType\":2}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0,\"aps\":{\"alert\":\"$300K\",\"sound\":\"default\"}}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "in"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195910436,
            "type": "text",
            "text": "Hi Buyer7192! Hope you're having an awesome day. This is Anna-stage3 with stagesite4 company name. I'd like to send you some more homes like the ones you looked at initially. Can you let me know what your specific price range is?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "76b9714e-7805-4113-99c5-852c7039b91a",
            "idServer": "11606",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"chatType\":2}",
            "pushContent": "Hi Buyer7192! Hope you're having an awesome day. This is Anna-stage3 with stagesite4 company name. I'd like to send you some more homes like the ...",
            "pushPayload": "{\"aps\":{\"alert\":\"Hi Buyer7192! Hope you're having an awesome day. This is Anna-stage3 with stagesite4 company name. I'd like to send you some more homes like the ones you looked at initially. Can you let me know what your specific price range is?\",\"sound\":\"default\"},\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195763248,
            "type": "text",
            "text": "Hi there, I'm Anna-stage3. Sorry to be a bother, but the price of few properties has just reduced. Would you be interested in setting up a time to see a few of those?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "df73d480-6d56-473f-9721-eb456f40faea",
            "idServer": "11604",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"chatType\":2}",
            "pushContent": "Hi there, I'm Anna-stage3. Sorry to be a bother, but the price of few properties has just reduced. Would you be interested in setting up a time t...",
            "pushPayload": "{\"aps\":{\"alert\":\"Hi there, I'm Anna-stage3. Sorry to be a bother, but the price of few properties has just reduced. Would you be interested in setting up a time to see a few of those?\",\"sound\":\"default\"},\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195757280,
            "type": "text",
            "text": "Hi there, Anna-stage3 here with stagesite4 company name. Our team has access to a few properties about to hit the market. I was wondering if any of them would interest you. Are you still considering buying in the next 3-6 months or sooner?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "73de6467-3ed7-47d3-a584-ee3043e8ffc3",
            "idServer": "11603",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"chatType\":2}",
            "pushContent": "Hi there, Anna-stage3 here with stagesite4 company name. Our team has access to a few properties about to hit the market. I was wondering if any ...",
            "pushPayload": "{\"aps\":{\"alert\":\"Hi there, Anna-stage3 here with stagesite4 company name. Our team has access to a few properties about to hit the market. I was wondering if any of them would interest you. Are you still considering buying in the next 3-6 months or sooner?\",\"sound\":\"default\"},\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195751218,
            "type": "text",
            "text": "Hi there, this is Anna-stage3. There are some great opportunities on the market right now, Do you mind telling me what you are looking for?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "7c09c0ad-44a3-4839-abab-6e8cf77c2ced",
            "idServer": "11602",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"chatType\":2}",
            "pushContent": "Hi there, this is Anna-stage3. There are some great opportunities on the market right now, Do you mind telling me what you are looking for?",
            "pushPayload": "{\"aps\":{\"alert\":\"Hi there, this is Anna-stage3. There are some great opportunities on the market right now, Do you mind telling me what you are looking for?\",\"sound\":\"default\"},\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195745324,
            "type": "text",
            "text": "Hi there, this is Anna-stage3. Sorry that we haven't been able to connect about your home search. I found a few homes that are similar to what you were looking for. Let me know if you are still interested.",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "599471c4-912f-408f-a13a-cb29e5135bf6",
            "idServer": "11601",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"chatType\":2}",
            "pushContent": "Hi there, this is Anna-stage3. Sorry that we haven't been able to connect about your home search. I found a few homes that are similar to what yo...",
            "pushPayload": "{\"aps\":{\"alert\":\"Hi there, this is Anna-stage3. Sorry that we haven't been able to connect about your home search. I found a few homes that are similar to what you were looking for. Let me know if you are still interested.\",\"sound\":\"default\"},\"sessionType\":0,\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\"}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        },
        {
            "scene": "p2p",
            "from": "b0olzeme34ivm8c2e2w6_stage",
            "fromNick": "Se T-test",
            "fromClientType": "Server",
            "to": "bmmuxly4vkiee9f8h6nz_stage",
            "time": 1658195719395,
            "type": "text",
            "text": "Hi there!  I see that you're looking. I'm Anna-stage3 with stagesite4 company name. How can we help? Are you just browsing or are you thinking of making a move at some point?",
            "isHistoryable": true,
            "isRoamingable": true,
            "isSyncable": true,
            "cc": true,
            "isPushable": false,
            "isOfflinable": true,
            "isUnreadable": true,
            "isReplyMsg": true,
            "needPushNick": true,
            "needMsgReceipt": false,
            "isLocal": false,
            "idClient": "43c02b95-d371-48be-aeb6-22bef9683766",
            "idServer": "11600",
            "userUpdateTime": 1657603825382,
            "custom": "{\"aiQualifyStatus\":\"running\",\"leadPhone\":\"3479033025\",\"toNum\":\"3479033025\",\"fromNum\":\"6602009510\",\"chatType\":2}",
            "pushPayload": "{\"sessionId\":\"b0olzeme34ivm8c2e2w6_stage\",\"sessionType\":0,\"aps\":{\"alert\":\"Hi there!  I see that you're looking. I'm Anna-stage3 with stagesite4 company name. How can we help? Are you just browsing or are you thinking of making a move at some point?\",\"sound\":\"default\"}}",
            "status": "success",
            "target": "bmmuxly4vkiee9f8h6nz_stage",
            "sessionId": "p2p-bmmuxly4vkiee9f8h6nz_stage",
            "flow": "out"
        }
    ]
    let endTime = new Date("2022-07-18").getTime();
    msgs = msgs.filter(
        d => {
            console.log('aaaaa',d.time,endTime)
            return d.time < endTime &&
                d?.attach?.type !== "addTeamMembers"
        }
    )
    console.log('msgs', msgs)
</script>
</body>
</html>